<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:composite="http://java.sun.com/jsf/composite"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	<h:body>
    	<ui:composition template="/resources/template/layout.xhtml">
    		<ui:define name="contentLayout">
    		
                <p:panel header="Registered Services Metadata" >
                   <p:spacer height="10" style="display:block"/>                    
                   
                   <p:dataTable id="tableProp" var="config" value="#{esbAdpConfigPropertiesController.req}" paginator="true"
                                 paginatorPosition="bottom" rows="15" emptyMessage="No record found"  >
                        
                        <f:facet name="header">
                            Adp Config Properties
                        </f:facet>

                        <p:column headerText="Name">
                            <h:outputText value="#{config.propertyName}" />
                        </p:column>
                        
                        <p:column headerText="Description">
                            <h:outputText value="#{config.description}" />
                        </p:column>
                        
                        <p:column headerText="Value">
                            <h:outputText value="#{config.value}" />
                        </p:column>
                        
                    </p:dataTable>
                   
                    
                     <p:commandButton value="Force reload properties" actionListener="#{esbAdpConfigPropertiesController.reloadProperties}" update=":form-layout:tableProp"/> 
                </p:panel>
                
               
                
       		</ui:define>
       			
    	</ui:composition>
    </h:body>
</html>